package com.kaikeba.mapper;

import com.kaikeba.bean.Admin;
import com.kaikeba.bean.Student;

import java.util.List;
import java.util.Map;

public interface AdminMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin selectByAccountAndPassword(Admin admin);

    List<Student> findAllStu(Map map);

}